package com.hucsmn.stumansys.entity;

/**
 * 管理员实体类。
 * @author hucsmn
 */
public class Admin {
    private int id;
    private String name;
    private String crypt;

    public Admin() {
    }

    public Admin(String name, String crypt) {
        this.name = name;
        this.crypt = crypt;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCrypt() {
        return crypt;
    }

    public void setCrypt(String crypt) {
        this.crypt = crypt;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", crypt='" + crypt + '\'' +
                '}';
    }
}
